package com.zq.entity;
/**
 * 
 *说明:
 *@version v1.0
 * @author zhangqian(mailto:739428054@qq.com)
 *	创建于:2020年5月6日上午8:46:33
 */

import java.io.Serializable;
import java.math.BigDecimal;
import java.math.BigInteger;

public class House implements Serializable{
	
	private static final long serialVersionUID = 1L;
	private BigInteger id;
	private BigDecimal houseprice;
	private String housetype;
	@Override
	public String toString() {
		return "House [id=" + id + ", houseprice=" + houseprice + ", housetype=" + housetype + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		House other = (House) obj;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		return true;
	}
	public BigInteger getId() {
		return id;
	}
	public void setId(BigInteger id) {
		this.id = id;
	}
	public BigDecimal getHouseprice() {
		return houseprice;
	}
	public void setHouseprice(BigDecimal houseprice) {
		this.houseprice = houseprice;
	}
	public String getHousetype() {
		return housetype;
	}
	public void setHousetype(String housetype) {
		this.housetype = housetype;
	}
	

}
